package com.kucun.Dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.kucun.bean.Page;
import com.kucun.bean.Units;

public interface UnitsMapper {
	Integer deleteByPrimaryKey(Integer id);

    Integer insert(Units record);

    Integer insertSelective(Units record);

    Units selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(Units record);

    Integer updateByPrimaryKey(Units record);
    
	List<Units> findAll(Page page);
	
	List<Units> findAllDateNoPaging();

	Page getCount();
	
	public int updateGoodsForDel(@Param("ids")String ids);
}